package com.zhhh.repository;

import org.springframework.data.repository.CrudRepository;

import com.zhhh.domain.User;

/**
 * User类的CRUD操作
 * @see com.zhhh.domain.User
 */
public interface UserRepository extends CrudRepository<User, Long> {

    public User findByUsername(String username);
}
